//
//  FirstReusableView.m
//  Protect -A
//
//  Created by 付剑英 on 16/6/18.
//  Copyright © 2016年 付剑英. All rights reserved.
//

#import "FirstReusableView.h"

@implementation FirstReusableView

#pragma mark - ------------ 初始化 ---------------

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        [self creatSub];
    }
    return self;
}
#pragma mark - ------------ 创建 ---------------

- (void)creatSub
{

    self.labelHeader = [[baseLabel alloc]init];
    [self addSubview:_labelHeader];
    self.labelHeader.textAlignment = NSTextAlignmentCenter;
     _labelHeader.font = [UIFont systemFontOfSize:23];
    [_labelHeader release];

}
#pragma mark - ------------  布局 ---------------

- (void)layoutSubviews{

    [super layoutSubviews];
    
    self.labelHeader.frame = CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height);
    
    
}


@end
